package com.contest.quartz.task;

import com.alibaba.fastjson.JSON;
import com.contest.quartz.data.ScheduleJobInfo;
import com.contest.service.GameNumbersRuleService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 
* @Description: TODO()
* @ClassName: TaskTest
* @author lwb fzlwb@intretech.com
* @date 2017年8月14日 下午5:01:52
 */
@Component
public class TaskCheckGameNumbers extends ScheduleJobInfo
{

	@Autowired
	GameNumbersRuleService gameNumbersRuleService;

	public final Logger logger = Logger.getLogger(this.getClass());


	public void run()
	{
//			System.out.println(JSON.toJSONString(this.getJob()));
		logger.debug(JSON.toJSONString(this.getJob()));
		gameNumbersRuleService.initCurrentDateGameRule();
	}
	

}
